home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 02 - 1986 / 02.11 Nov 86.sit / 02.11 Nov 86 / Gordon's C ok / Sources / abc.h next >
Encoding:
C/C++ Source or Header  |  1986-10-13  |  549 b   |  32 lines  |  [TEXT/KAHL]

  1. /* abc.h 
  2.  *
  3.  * Local definitions to improve readability
  4.  *
  5.  */
  6.  
  7. #define    True        1
  8. #define    False        0
  9. #define    Nil            0
  10. #define     and        &&
  11. #define     or            ||
  12. #define    not            !
  13. #define     equals        ==
  14. #define     notequal    !=
  15.  
  16.  
  17. /* unsigned longs and shorts
  18.  *    (unsigned longs may not be 
  19.  *     available with all compilers
  20.  */
  21. #define    ushort        unsigned short
  22. #define    ulong        unsigned long
  23. #define uchar        unsigned char
  24.  
  25. /* General purpose external routines 
  26.  * String conversion routines 
  27.  * return a pointer to a char 
  28.  */
  29. extern    char    *CtoPstr();
  30. extern    char    *PtoCstr();    
  31.  
  32.